package com.hncc.kumao.entity;

import java.util.Date;

public class BreakpointUploadTaskInfo {

    private String taskId;//断点上传任务id
    private Integer successFragmentNumber;//已上传完成的文件片段数量
    private Integer totalFragmentNumber;//文件总分片数量
    private Integer state;//状态
    private Date createTime;//任务创建时间
    private Date startGetTime;//开始接收分片的时间
    private Date endGetTime;//任务接收分片结束的时间
    private Date startUploadTime;//开始向网盘上传的时间
    private Date endUploadTime;//结束向网盘上传的时间
    
    public String getTaskId() {
        return taskId;
    }
    public Integer getSuccessFragmentNumber() {
        return successFragmentNumber;
    }
    public Integer getTotalFragmentNumber() {
        return totalFragmentNumber;
    }
    public Integer getState() {
        return state;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public Date getStartGetTime() {
        return startGetTime;
    }
    public Date getEndGetTime() {
        return endGetTime;
    }
    public Date getStartUploadTime() {
        return startUploadTime;
    }
    public Date getEndUploadTime() {
        return endUploadTime;
    }
    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
    public void setSuccessFragmentNumber(Integer successFragmentNumber) {
        this.successFragmentNumber = successFragmentNumber;
    }
    public void setTotalFragmentNumber(Integer totalFragmentNumber) {
        this.totalFragmentNumber = totalFragmentNumber;
    }
    public void setState(Integer state) {
        this.state = state;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public void setStartGetTime(Date startGetTime) {
        this.startGetTime = startGetTime;
    }
    public void setEndGetTime(Date endGetTime) {
        this.endGetTime = endGetTime;
    }
    public void setStartUploadTime(Date startUploadTime) {
        this.startUploadTime = startUploadTime;
    }
    public void setEndUploadTime(Date endUploadTime) {
        this.endUploadTime = endUploadTime;
    }
    @Override
    public String toString() {
        return "BreakpointUploadTaskInfo [taskId=" + taskId + ", successFragmentNumber=" + successFragmentNumber
                + ", totalFragmentNumber=" + totalFragmentNumber + ", state=" + state + ", createTime=" + createTime
                + ", startGetTime=" + startGetTime + ", endGetTime=" + endGetTime + ", startUploadTime="
                + startUploadTime + ", endUploadTime=" + endUploadTime + "]";
    }
}
